package com.blueocean_health.care.management.domain.base;

import java.util.Date;
import javax.persistence.*;

public class Building {
    /**
     * 楼号id
     */
    @Id
    @Column(name = "building_id")
    private Integer buildingId;

    /**
     * 楼号名称
     */
    @Column(name = "building_name")
    private String buildingName;

    @Column(name = "hospital_id")
    private String hospitalId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 逻辑状态
     */
    @Column(name = "is_active")
    private Integer isActive;

    /**
     * 获取楼号id
     *
     * @return building_id - 楼号id
     */
    public Integer getBuildingId() {
        return buildingId;
    }

    /**
     * 设置楼号id
     *
     * @param buildingId 楼号id
     */
    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    /**
     * 获取楼号名称
     *
     * @return building_name - 楼号名称
     */
    public String getBuildingName() {
        return buildingName;
    }

    /**
     * 设置楼号名称
     *
     * @param buildingName 楼号名称
     */
    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    /**
     * @return hospital_id
     */
    public String getHospitalId() {
        return hospitalId;
    }

    /**
     * @param hospitalId
     */
    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取修改时间
     *
     * @return update_time - 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置修改时间
     *
     * @param updateTime 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取逻辑状态
     *
     * @return is_active - 逻辑状态
     */
    public Integer getIsActive() {
        return isActive;
    }

    /**
     * 设置逻辑状态
     *
     * @param isActive 逻辑状态
     */
    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }
}